package com.cloud.custom.workflow.enums;

/**
 * 操作类型枚举
 * @author taominglong
 *
 */
public enum WfItemTypeEnum {
	CREATE(1, "CREATE"), 
	ASSIGN(2, "ASSIGN"), 
	TRANSIT(3, "TRANSIT"), 
	ROLLBACK(4, "ROLLBACK"),
	CANCEL(5, "CANCEL"), 
	FINISH(6, "FINISH");

	private int itemTypeId;
	private String itemTypeName;

	private WfItemTypeEnum(int itemTypeId, String itemTypeName) {
		this.itemTypeId = itemTypeId;
		this.itemTypeName = itemTypeName;
	}

	public int getItemTypeId() {
		return itemTypeId;
	}

	public String getItemTypeName() {
		return itemTypeName;
	}

}
